﻿namespace System.Text
{
    [ImportClass(string.Empty, "RegExp")]
    public class RegularExpression
    {
        public RegularExpression(string pattern, string modifiers)
        {
        }

        public bool Global
        {
            get{return false;}
        }

        public bool IgnoreCase
        {
            get{return false;}
        }

        public int LastIndex
        {
            get{return 0;}
        }

        public bool Multiline
        {
            get{return false;}
        }

        public string Source
        {
            get{return null;}
        }

        /// <summary>
        /// Tests for a match in a string. Returns the first match
        /// </summary>
        /// <returns></returns>
        public string Exec()
        {
            return null;
        }

        public bool Test()
        {
            return false;
        }
    }
}
